<?php

$delete = urldecode(@$_POST["delete_target"]);

if($delete){
	if(time()%2){
		echo "Success!\nTarget \"$delete\" deleted.";
	}else{
		header("HTTP/1.0 500 Error");
		echo "Error!\nTarget \"$delete\" not deleted!";
	}
}else{
	echo "I've got following in order to save a target:\n" . var_export($_POST,true);
}

?>
